/*
	Date picker pour la création des ateliers
*/

function datePicker()
{
	$(document).ready(function()
	{

	$( "#date_debut" ).datepicker({
		defaultDate: "+1w",
		changeMonth: true,
		numberOfMonths: 2,
		onClose: function( selectedDate ) {
			$( "#date_fin" ).datepicker( "option", "minDate", selectedDate );
		}
	});
	$( "#date_fin" ).datepicker({
		defaultDate: "+1w",
		changeMonth: true,
		numberOfMonths: 2,
		onClose: function( selectedDate ) {
			$( "#date_debut" ).datepicker( "option", "maxDate", selectedDate );
		}
	});
	
	});
		
}
